package com.example.mybatisdemo1.pojo;


import java.time.LocalDateTime;
import java.util.Date;

public class Patient {

  private long id;
  private String name;
  private Date birthday;
  private long sex;
  private String address;
  private String phone;
  private String idCard;
  private long isMedicare;
  private String idMedicare;
  private LocalDateTime createdTime;
  private LocalDateTime updatedTime;

  @Override
  public String toString() {
    return "Patient{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", birthday=" + birthday +
            ", sex=" + sex +
            ", address='" + address + '\'' +
            ", phone='" + phone + '\'' +
            ", idCard='" + idCard + '\'' +
            ", isMedicare=" + isMedicare +
            ", idMedicare='" + idMedicare + '\'' +
            ", createdTime=" + createdTime +
            ", updatedTime=" + updatedTime +
            '}';
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }


  public long getSex() {
    return sex;
  }

  public void setSex(long sex) {
    this.sex = sex;
  }


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }


  public long getIsMedicare() {
    return isMedicare;
  }

  public void setIsMedicare(long isMedicare) {
    this.isMedicare = isMedicare;
  }


  public String getIdMedicare() {
    return idMedicare;
  }

  public void setIdMedicare(String idMedicare) {
    this.idMedicare = idMedicare;
  }


  public LocalDateTime getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(LocalDateTime createdTime) {
    this.createdTime = createdTime;
  }


  public LocalDateTime getUpdatedTime() {
    return updatedTime;
  }

  public void setUpdatedTime(LocalDateTime updatedTime) {
    this.updatedTime = updatedTime;
  }

}
